<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

class TrainingLogModel extends Model
{
    protected $table = 'training_logs';

    public function member()
    {
        return $this->belongsTo(MemberModel::class);
    }

    public function task()
    {
        return $this->belongsTo(TrainingTask::class);
    }
}